package com.hyc.service;

import com.hyc.dao.SysMenuMapper;
import com.hyc.entity.SysMenu;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SysMenuService {
    @Autowired
    private SysMenuMapper sysMenuMapper;

    public List<SysMenu> listAll() {
        return sysMenuMapper.queryList(new SysMenu());
    }
}
